import {Column, Model, Table} from "sequelize-typescript";
import {DataTypes} from "sequelize";

@Table({tableName:'xiaohongshu_0312',timestamps:false })
export class XiaohongshuModel extends Model{
    // @Column({type:DataTypes.STRING})
    // link!: string

    @Column({type:DataTypes.STRING,field:'达人ID'})
    redId!: string

    // @Column({type:DataTypes.STRING})
    // nickname!: string

    @Column({type:DataTypes.STRING,field:'blogger_id'})
    BloggerId!: string

    @Column({type:DataTypes.STRING,field:'blogger_id_key'})
    BloggerIdKey!: string

    // @Column({type:DataTypes.STRING,field:'is_exist_link'})
    // isExistLink!: string

    // @Column({type:DataTypes.JSON})
    // content!: string
    @Column({type:DataTypes.INTEGER,field:'is_fetch_data'})
    isFetchData!:number

    @Column({type:DataTypes.INTEGER,field:'is_exception'})
    isException!:number

    @Column({type:DataTypes.STRING,field:'阅读中位数'})
    readMedianNum!:string

    @Column({type:DataTypes.STRING,field:'互动中位数'})
    interactMedianNum!:string

    @Column({type:DataTypes.STRING,field:'女性粉丝占比%'})
    femaleFans!:string

    @Column({type:DataTypes.STRING,field:'活跃粉丝占比%'})
    activeFans!:string

    @Column({type:DataTypes.STRING,field:'水粉丝占比'})
    gouacheFans!:string

    @Column({type:DataTypes.STRING,field:'预估VV'})
    estimateVv!:string

    @Column({type:DataTypes.STRING,field:'预估点赞'})
    estimateZan!:string

    @Column({type:DataTypes.STRING,field:'达人属性'})
    fans!:string
    @Column({type:DataTypes.STRING,field:'粉丝分布'})
    attr!:string

    @Column({type:DataTypes.STRING,field:'粉丝数'})
    fansNum!:string

    @Column({type:DataTypes.STRING,field:'笔记数'})
    noteNum!:string


    @Column({type:DataTypes.STRING,field:'点赞数'})
    likeNum!:string


    @Column({type:DataTypes.STRING,field:'收藏数'})
    collectNum!:string
}
